<template>
 <!--用户个人中心（查看所有订单、查看收藏、个人信息、修改密码、地址管理、账户充值）-->
  <el-container>
    <el-aside>
      <div class="title">个人中心</div>
      <ul class="menuList">
        <li><router-link to="/user/center/info">个人信息</router-link></li>
        <li><router-link to="/user/center/order">我的订单</router-link></li>
        <li><router-link to="/user/center/collect">我的收藏</router-link></li>
        <li><router-link to="/user/center/pwd">修改密码</router-link></li>
        <li><router-link to="/user/center/addr">地址管理</router-link></li>
        <li><router-link to="/user/center/recharge">账户充值</router-link></li>
      </ul>
    </el-aside>
    <el-main>
      <RouterView />
    </el-main>
  </el-container>
</template>

<script setup>

</script>

<style scoped>
.el-aside {
  padding: 20px;
  width: 150px;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.menuList li {
  margin: 12px 0px;
}

.menuList li a {
  font-size: 14px;
  color: #333333;
}
</style>